package com.example.safeassistan.risk.adapter;

import androidx.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.example.safeassistan.R;
import com.example.safeassistan.risk.model.ChecktableListModel;
import com.example.safeassistan.risk.model.DepartListModel;

import java.util.List;

public class RiskCheckTableSelectedListAdapter extends BaseQuickAdapter<ChecktableListModel.ResultDTO,BaseViewHolder> {
    public RiskCheckTableSelectedListAdapter(@Nullable List<ChecktableListModel.ResultDTO> data) {
        super(R.layout.item_depart_select_list, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, ChecktableListModel.ResultDTO item) {
        helper.setText(R.id.tvText,item.getTableName());
    }
}